<template>
  <div>
    <h1>姓名：<label v-text="Name"></label></h1>
    <h1>是否已婚：<span v-show="IsMarry">是</span><span>否</span></h1>
    <h1>学校：{{ School }}</h1>
  </div>
</template>

<script>
  export default{
    data() {
      return {
        Name: '小明',
        IsMarry: false,
        Age: 16,
        School: '光明小学'
      }
    }
  }
</script>
